package com.mall.book.mappers;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mall.book.entity.po.OrderStatus;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;

/**
 * Created by Dizziness on 2022/3/24 9:13
 */
public interface OrderStatusMapper extends BaseMapper<OrderStatus> {
    Collection<OrderStatus> selectByOrderId(String orderId);

    List<OrderStatus> selectByIdEvenDeleted(@Param("id") String subOrderId);
}
